const api={
	Bindwx:'/wxCode/BindRelationship',
	getWXCode:'/wxCode/getWXCode',
	// 微信支付(购买云诊次数)
	payYzMoney:'/pay/payYzMoney',
	
	// 云仓提货支付运费
	payCommssion:'/pay/payOutOrderFreightMoney',
	
	//订单那里去支付费用
	payOrderMoney:'/pay/payOrderMoney'
	
	
	
	
	
}
//微信二维码
//绑定关系
export const Bindwx=(scene) =>{
	return uni.$http.get(`${api.Bindwx}/${scene}`)
}
// 获取绑定二维码
export const getWXCode=(scene) =>{
	return uni.$http.get(api.getWXCode,scene)
}

//云诊
export const payYzMoney=()=>{
	return  uni.$http.post(api.payYzMoney)
	
}

//佣金支付
export const payCommssion=(orderId)=>{
   return uni.$http.get(`${api.payCommssion}/${orderId}`)
}

//订单那里的去支付支付费用
export const payOrderMoney=(orderId)=>{
	return uni.$http.get(`${api.payOrderMoney}/${orderId}`)
}


